package com.chy.edu.client.impl;

import com.chy.commonutils.Result;
import com.chy.edu.client.VodClient;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class VodDegradeFeignClient implements VodClient {

    @Override
    public Result removeAlyVideo(String id) {
        return Result.error().message("删除视频出错了");
    }

    @Override
    public Result deleteBatch(List<String> videoIdList) {
        return Result.error().message("删除多个视频出错了");
    }
}
